<template>
  <div>
    <van-search
      v-model="value"
      shape="round"
      placeholder="请输入搜索关键词"
      @click="search"
    />
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
let router=new useRouter()
const search=()=>{
    router.push('/search')
}
</script>

<style lang="scss" scoped></style>
